package cn.dnui_cjy529.dnuifood_16110100529.service;

import cn.dnui_cjy529.dnuifood_16110100529.bean.ResultBean;
import cn.dnui_cjy529.dnuifood_16110100529.bean.UserBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;



public interface UserService {
    @GET("userLogin.do")
    Call<UserBean> userLogin(@Query("username") String username,@Query("userpass") String userpass);

    @GET("userRegister.do")
    Call<ResultBean> doregister(@Query("username") String username, @Query("userpass") String userpass,
                                @Query("mobilenum") String mobilenum, @Query("address") String address,
                                @Query("comment") String comment);
}

